package cn.smart.tokenx.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration
@ConfigurationProperties(prefix = "cn.smart.tokenx")
public class TokenXProperty {
    private boolean enable;
    private String key;
    private String pathPatterns = "/api/**";
    private String excludePathPatterns;
    private int order = 1;
}
